package com.gec.system.util;

import java.text.SimpleDateFormat;
import java.util.Date;

public class Constant {


    public static String getCode(String pre,Integer seed){

        Date date = new Date();
        SimpleDateFormat sdf = new SimpleDateFormat("yyyyMMdd");
        String format = sdf.format(date);
        return pre+format+seed;
    }

}
